const layout = resolve => require(['common/src/views/layout/base'], resolve);
const auditBatch = resolve => require(['common/src/views/graduationManagement/completeGraduation/auditBatch'], resolve);
const auditStandard = resolve => require(['common/src/views/graduationManagement/completeGraduation/auditStandard'], resolve);
const degreeAwardedMainten = resolve => require(['common/src/views/graduationManagement/completeGraduation/degreeAwardedMainten'], resolve);
const graduationReviewRuth = resolve => require(['common/src/views/graduationManagement/completeGraduation/graduationReviewRuth'], resolve);
const graduationList = resolve => require(['common/src/views/graduationManagement/completeGraduation/graduationList'], resolve);
const graduationApply = resolve => require(['common/src/views/graduationManagement/completeGraduation/graduationApply'], resolve);
const graduationApplyDetails = resolve => require(['common/src/views/graduationManagement/completeGraduation/graduationApplyDetails'], resolve);
const graduationAudit = resolve => require(['common/src/views/graduationManagement/completeGraduation/graduationAudit'], resolve);
const graduationAuditDetails = resolve => require(['common/src/views/graduationManagement/completeGraduation/graduationAuditDetails'], resolve);
const graduationQualificationAudit = resolve => require(['common/src/views/graduationManagement/completeGraduation/graduationQualificationAudit'], resolve);
const cgraduationQualificationAuditDetail = resolve => require(['common/src/views/graduationManagement/completeGraduation/graduationQualificationAuditDetail'], resolve);
const principalReplacementManagement = resolve => require(['common/src/views/graduationManagement/principalReplacement/principalReplaceList'], resolve);
const completeValiditySetting = resolve => require(['common/src/views/graduationManagement/completeGraduation/validitySetting'], resolve);

const completeGraduationManagement = {
    path: '/completeGraduationManagement',
    name: 'completeGraduationManagement',
    component: layout,
    children: [
        {
            path: 'auditBatch',
            name: 'auditBatch',
            component: auditBatch,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: 'auditStandard',
            name: 'auditStandard',
            component: auditStandard,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: 'degreeAwardedMainten',
            name: 'degreeAwardedMainten',
            component: degreeAwardedMainten,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: 'graduationReviewRuth',
            name: 'graduationReviewRuth',
            component: graduationReviewRuth,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: 'graduationList',
            name: 'graduationList',
            component: graduationList,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: 'graduationApply',
            name: '/graduationApply',
            component: graduationApply,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: 'graduationApplyDetails',
            name: '/graduationApplyDetails',
            component: graduationApplyDetails,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: 'graduationAudit',
            name: '/graduationAudit',
            component: graduationAudit,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: 'graduationAuditDetails',
            name: '/graduationAuditDetails',
            component: graduationAuditDetails,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: 'graduationQualificationAudit',
            name: 'graduationQualificationAudit',
            component: graduationQualificationAudit,
            meta: {
                nokeepalive: false
            }
        },
        {
            path: '/cgraduationQualificationAuditDetail',
            name: 'cgraduationQualificationAuditDetail',
            component: cgraduationQualificationAuditDetail,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: 'principalReplacementManagement',
            name: 'principalReplacementManagement',
            component: principalReplacementManagement,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: 'completeValiditySetting',
            name: 'completeValiditySetting',
            component: completeValiditySetting,
            meta: {
                nokeepalive: true
            }
        }
    ]
}

export default completeGraduationManagement